package com.hnichr.ump.common.talent.library.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "t_talent_skills",indexes = {@Index(columnList = "USER_ID_")})
@Schema(description = "人才库-专业技能")
public class Skills extends Talent {
    /**
     * 技能名称
     */
    @Column(name = "NAME_")
    @Schema(description = "技能名称")
    private String name;

    /**
     * 使用时长
     */
    @Column(name = "TIME_")
    @Schema(description = "使用时长")
    private Integer time;

    /**
     * 掌握程度
     */
    @Column(name = "LEVEL_")
    @Schema(description = "掌握程度")
    private String level;

    /**
     * 简历id
     */
    @Column(name = "RESUME_ID_")
    @Schema(description = "简历id")
    private String resumeId;
}
